For this case we have the following system of equations:

We solve by the matching method.
Matching we have:

Thus, the solution of the system is given by:

Answer:

$6.65 per bucket hat, I got this answer because $19.95 divided by 3 is $6.65 therefor leading to the cost of the bucket hats.
4.9 * 102 = 499.8
6.8 * 103 = 700.4
1.71 * 103 = 120.51