I want to have the following output .
For this purpose , I have the following code .
\begin{align*}
Maximize \mathbf{z = x_1+2x_2+3x_3}
\end{align*}
\begin{align*}
Subject to \mathbf{x_1 + \hspace{2cm}+2x_3 \leq 2 }\\
\mathbf{ \hspace{2cm}x_2+2x_3 \leq 2 } \\
\mathbf{x_1 \geq 0 , x_2 \geq 0 , x_3 \geq 0}
\end{align*}
For this code , I have the following output :
I do not understand how to achieve my desired output . What have I to do ? Please help me .
\documentclass{...}
and ending with\end{document}
.