To find the total number of home runs that Hassan hit, we can set up the equation based on the information given.
Let \( h \) represent the number of home runs Hassan hit. According to the problem, Andre hit 4 more home runs than twice the number of home runs Hassan hit. This can be expressed in an equation format as follows:
\[ 2h + 4 = 10 \]
This equation states that twice the number of home runs Hassan hit (which is \( 2h \)) plus 4 (the additional home runs Andre hit) equals 10 (the total home runs Andre hit).