Let T be the price of a pair of a t-shirt
Let J be the price of a pair of jeans
Joseph bought 4 t-shirts and 3 pairs of jeans for $181.
This translates to 4 * T + 3 * J = 181
Tania bough 1 t-shirt and 2 pair of jeans for $94.
This translates to T + 2*J = 94
This gives us a system of equations with two equations and two unknowns (T & J)
4T + 3J = 181
T + 2J = 94
We can solve for T in the second equation:
T = 94-2J
And substitute it for T in the first equation:
4(94-2J) + 3J = 181
then solve for J:
376 - 8J + 3J = 181
-5J = -195
J = 39
Substituting the value of J in the second equation:
T + 2J = 94
T + 2(39) = 94
T = 16
Thus the price of jeans is $39 and the price of t-shirt is $16