Math
posted by Christopher on .
There are three times as many people in the psychology class as in the art history class. there are 16 more people in the algebra class then the art history class The total enrollment of the three classes is 86. How many students are enrolled in each class?. I need a little help on how to work this.

First, write the clues in math symbols:
p = 3h
a = h+16
a+h+p = 86
Now just start substituting to get rid of all the letters but one, then go back and calculate the other two values.