Question 259669
Let the no. of shirts with rock band picture be x.
Then the other shirts sold will be 30 -x. ( since total shirts sold was 30.)

9.5x  is the amount received for selling rock band shirts.
 (30-x)x 8.95 is the amount recieved for selling name shirts.

so 9.5x + (30-x) x 8.95 = $ 272.90
9.5x + 268.5 - 8.95x = $ 272.90  ( remove brackets)
0.55x = 272.90-268.50
0.55x = $ 4.40
x= 4.4 / 0.55
x= 8
30-x = 22

Rock band shirts sold 8
Name shirt sold 22