Final answer:
The producer should produce 9 units of goods X and 9 units of goods Y.
Step-by-step explanation:
In order for the producer to determine the optimal quantity of units to produce, they need to find the intersection point between marginal cost (MC) and marginal revenue (MR) for both goods X and Y. This is because the profit-maximizing level of output occurs where MR equals MC.
Given the marginal cost equations, MC = 10Q, MRX = 150 - 6QX, and MRy = 30 - 4Qy, we can set MC equal to MRX and solve for QX. This gives us 10Q = 150 - 6QX. Solving for QX, we find QX = 9. Similarly, setting MC equal to MRy and solving for Qy gives us Qy = 9.
Therefore, the producer should produce 9 units of goods X and 9 units of goods Y.