Budde Chemicals produces two industrial chemical compounds, X15 and Z24, from the same process, which in 2008, cost $300,000. Budde produced 10,000 gallons of X15, which sells for $40 per gallon and 40,000 gallons of Z24, which sells for $20 per gallon.

How much of the joint cost should be allocated to X15?