math
posted by dawn on .
the total number of horses and people at a riding academy one sunday was 39.The total number of legs at the academy that day was 124.How many people were at the riding academy that sunday?

H+P=39
4H+2P=124
H=39P
4(39P)+2P=124
solve for P there, then go back and solve for H.