I'm using latex to format homework for a class. I'm using \section to separate my problems and that is working fine, but when I'd like to answer a question with multiple lines, the spacing becomes impossible. I'm trying to do this at the moment:
\documentclass{article}
\title {hw}
\author {name}
\date {}
\usepackage{tikz}
\begin{document}
\section*{Problem 1}
\hspace{1cm} some part of my answer $some equation$ \
\hspace{1cm} second part of my answer $some equation$
I'm not sure if the equations actually matter but I'm new to latex and it might provide more context to my problem. I've tried using \*, \linebreak, \newline, and every time the spacing is incorrect. The only way I've been able to fix it is by making the second \hspace 6mm instead of 1cm which seems bizarre and I'd rather not have to guess and fix spacing every time I use latex. I would appreciate any help or any explanation on how I'm using these commands incorrectly, thank you!

\\and just use a blank line between the paragraphs – David Carlisle Apr 04 '22 at 23:11indentfirstpackage to change that. – David Carlisle Apr 04 '22 at 23:13\hspaceat the beginning of a line. Instead, you want to just know how to indent or change the margins of a specific portion of your document. A solution to that is provided here: Indenting a whole paragraph (possible duplicate). – Werner Apr 04 '22 at 23:52