Barney spent $70 on 3 shirts and 2 pants and Robin bought 1 shirt and 4 pairs of pants for $90.
Let "x" represent the price of one shirt and "y" represent the cost of one pant.
The total cost of Barneys purchase can be represented as:
And the total cost of Robins purchase can be represented as