Answer:
x = 30 and y = 50
Explanation:
Given that,
The cost of 4 shirts and 1 pair of pants is $170 and the cost of 5 shirts and 2 pair of pants is $250.
Let the cost of 1 shirt is x and that of 1 pant is y.
So,
4x+y=170 .....(1)
5x+2y = 250 .....(2)
Multiply equation (1) by 2.
8x+2y=340 .......(3)
Subtract equation (2) from (3).
8x+2y-(5x+2y)=340-250
3x = 90
x = 30
Put the value of x in equation (1).
4(30)+y=170
120+y=170
y = 170-120
y = 50
Hence, the value of x is 30 and that of y is 50.