math
posted by Katherine on .
Andy had 20% fewer marbles than Henry. When Andy gave 80 marbles to Henry, the number of marbles he had left was half of what Henry had. How many marbles did Andy have in the beginning?
please help me

A = H  .2
A  80 = .5(H + 80)
Substitute H.2 for A in the second equation and solve for H. Put that value in the first equation to find A. Check by putting both values in the second equation. 
butt ugly!!!!! fuguir it out!!!

Andy started with 320 marbels