Answer: Each shirt costs $1.25, and each hat costs $2.5.
Explanation:
Let x= Cost per T-shirt, y = Cost per Hat.
As per given,
3x+3y=11.25 (i)
4x+2y=10 (ii)
Multiply 4 to equation (i)
12x+12y=45 (iii)
12x+6y= 30 (iv)
Eliminate (iv) from (iii), we get
6y= 15
⇒ y = 2.5
Put value of y in (i)
3x+3(2.5)=11.25
⇒3x+7.5=11.25
⇒3x= 3.75
⇒x= 1.25
Hence, each shirt costs $1.25, and each hat costs $2.5.