Explanation:
Let a hat be x and a t shirt be y.
9y + x = 93.......... (1)
4y + x. = 43...........(2)
Using the elimination method
Multiply eqn (2) by -1 and eqn by +1
9y + x =. 93.........(3)
-4y - x.= -43..........(4)
Add both equations
5y =. 50.......(5)
y. =. 50 ÷5 = 10
y. =. 10