Answer :
Let's assume
number of shorts is x
we are given
People bought 2 times as many T-shirts as shorts
so, number of T-shirts is 2*x=2x
Dots sells T-shirts ($3) and shorts ($7)
so, total price of T-shirts [tex] =3*2x [/tex]
so, total price of shorts [tex] =7x [/tex]
now, we are given
total sales were $520
so,
total price of T-shirts+total price of shorts = total sales
we will get equation
[tex] 3*2x+7x=520 [/tex]
now, we can solve for x
[tex] 13x=520 [/tex]
[tex] x=40 [/tex]
so,
number of shorts is 40
number of T-shirts is 2*40=80............Answer