Let's denote the number of home runs Hassan hit as \( h \).
According to the problem, Andre hit 4 more home runs than twice the number of home runs Hassan hit. This can be expressed as:
\[ \text{Andre's home runs} = 2h + 4 \]
Together, they hit a total of 10 home runs, which can be expressed as:
\[ h + (2h + 4) = 10 \]
Now we can simplify this equation:
\[ h + 2h + 4 = 10 \]
This can be simplified further:
\[ 3h + 4 = 10 \]
So the equation that can be used to find the number of home runs Hassan hit is:
\[ 3h + 4 = 10 \]