h + f = 120
h + p = 230
p = 6f
Start substituting.
h + 6f = 230
h = 230 - 6f
From the first equation,
h = 120 - f
H has two different "values" which then equal each other.
230 - 6f = 120 - f
Solve for f, then use your answer to solve for h.