Final answer:
The task involves solving a system of linear equations to find out how many T-shirts and shorts were sold given their prices and the total sales amount.
Step-by-step explanation:
The question inquires about the amount of T-shirts and shorts sold given the total sales and the price of each item. To find the number of T-shirts and shorts sold, we can use a system of linear equations. Let's denote the number of T-shirts sold as T and the number of shorts sold as S. The first equation is derived from the total number of items sold, which is:
T + S = 284
The second equation comes from the total sales amount, which gives us:
2T + 4S = 676
Using these equations, we can solve for T and S to find out how many T-shirts and shorts were sold. This type of problem requires knowledge of algebraic methods substitution or elimination to find the values of T and S.