Answer:
shorts = 5and
t-shirts 7
Explanation:
step one:
given
Let x= shorts and y= t-shirts
Trevor bought 12 shorts and t-shirts.
x+y=12----------1
sale for $12 each and
t-shirts were $6 each
12x+6y=102---------2
the sytems of equation is
x+y=12----------1
12x+6y=102---------2
Step two:
from 1, x=12-y
put x=12-y in 2
12(12-y)+6y=102---------2
144-12y+6y=102
144-6y=102
144-102=6y
42=6y
y=42/6
y=7
put y=7 in 1
x+7=12----------1
x=12-7
x=5
shorts = 5and
t-shirts y