Then what you are told is:
h + q + d = 70,
50*h + 25*q + 10*d = 1775
q = 3*d
Substitute the last of these into the first two which will give you a pair
of simultaneous equations in two variables which you then need to solve.
The attachment shows QuickMath's solution