[Tex/LaTex] How to add space in math mode after a line break

math-modespacing

I want to be able to add some space at the beginning of a new line – in math mode.

What I have now is this:
enter image description here

What I'm aiming for is this:
enter image description here

I tried \hspace but it seems to be ignored when there's no to elements to space between… in other words, this will work:

$x\hspace{1cm} y$ 

but this will not:

$x\\ \hspace{1cm} y$

It won't let me add space between y and a new line…

Best Answer

Please always post complete documents, but you can align the lines as follows:

enter image description here

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
G=\{&f_1=a,b,\rightarrow c,\\
&f_2=a\rightarrow b,\\
&f_3=b\rightarrow e,\\
&f_4=c\rightarrow d,e\\
&f_5=e\rightarrow d\}
\end{align*}
\end{document}