Alright, lets get strated.
I assume that we are asked to find cost of T- shirt because cost of jeans is already given in question.
Okay so lets assume cost of one T-shirt is x.
Alex buys two T-shirts so, cost of two T-shirts will be

Alex buts one pair of jeans also which costs $ 16. 49.
So, his total spent

As per given in question, total spent = $ 27.47
So, we could make both equal.

Subtracting 16.49 in both sides


Dividing 2 in both sides
x = 5.49
Hence the cost of T-shirt is $ 5.49 : Answer
Hope it will help :)