Answer:
Cost of a T-shirt is £4
Cost of a Hat is £1
Explanation:
Let T be the cost of each T-shirt and H the cost of each hat
We get two equations based on the cost description
3T + 2H = 14 ...... (1)
2T + 7H = 15 ...... (2)
Multiply (1) by 2 and (2) by 3 so that the T terms are the same
(1) x 2 ==> 6T + 4H = 28 ... (3)
(2) x 3 ==> 6T + 21H = 45 ... (4)
Subtract (3) from (4) to eliminate the T terms
21H - 4H = 45 - 28 or 17H = 17 ==> H = 1
Substituting the value of H in either (1) or (2) will give us a value for T
Substitute in (1)
3T + 2*1 = 14 ==> 3T = 12, T = 4
Check
In (1) 3 *4 + 2 *1 = 14
In (2) 2*4 + 7*1 = 15
So satisfies both equations