Diego works at a warehouse that ships two types of packages, a red package weighing 4 pounds and a blue package weighing 6 pounds. Diego shipped a total of 40 packages weighing 180 pounds.

How many red packages were in the shipment?

Group of answer choices

10 packages

36 packages

20 packages

30 packages