Answer:
The cost of the shirts are $40 and $24
Step-by-step explanation:
Let
x ----> the cost of one shirt
y ----> the cost of the other shirt
we know that
----> equation A
I assume that the cost x is greater than the cost y
so
---->
---> equation B
solve the system by substitution
substitute equation B in equation A
solve for y
Find the value of x
----> 
therefore
The cost of the shirts are $40 and $24