Step 1: Calculate the cost per pen.
Each package of 5 pens costs $0.80, so the cost per pen is:
Cost per pen = 0.80 / 5 = 0.16
Step 2: Calculate the selling price per pen.
Each package of 3 pens is sold for $0.60, so the selling price per pen is:
Selling price per pen = 0.60 / 3 = 0.20
Step 3: Calculate the profit per pen.
The profit per pen is the selling price minus the cost price:
Profit per pen = 0.20 - 0.16 = 0.04
Step 4: Calculate the number of pens sold.
Judy's total profit is $8.00, so the number of pens sold is:
Number of pens sold = 8.00 / 0.04 = 200
Step 5: Conclusion.
Thus, Judy bought and sold 200 pens.