For this case, the first thing we must do is define variables.
We have:
x: number of quarters
y: number of half dollars
We write the system of equations that adapts to the problem.
We have then:

Solving the system of equations graphically, we have:

(see attached image for graphic solution)
The amount of coins you have is:
Answer:
He has 44 coins in total