\documentclass[12pt]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\RequirePackage{amsmath,amssymb,latexsym}
\pagestyle{empty}
\begin{document}
$  (a_{11}p_{1}+a_{12}p_{2})x+(a_{21}p_{1}+a_{22}p_{2})y+a_{1}p_{1}+a_{2}p_{2}=0  $
\end{document}
