Suppose ZCorp has the following short run production function
Q = 50X - 2X^2
where X is the only variable input used by ZCorp to product its product, Q.
Because ZCorp sells its product in a perfectly competitive market, it can sell all the Q it produces for $25. The current market price for input X is $100.
How many units of X will ZCorp buy?