Earl went shopping for some new clothes.   He purchased 3 pairs of jeans and 5 t-shirts.   The jeans cost $12 more than twice the cost of a t-shirt. Earl spent $234 on the jeans and the t-shirts.   What is the cost of one pair of jeans?  What is the cost of one t-shirt?

i need the system and how to solve it.​