Answer :
x is shirt type 1, y is shirt type 2
x+y=5
5x+10y=35
Use elimination.
solve for y
plug in y in one of the equations to find x
x+y=5
5x+10y=35
Use elimination.
solve for y
plug in y in one of the equations to find x