Wouldn't ? Since the way you've written it R(x) is constant and does not depend on x! Although I suspect that's a typo since it's correct later on
You have p(x) correct but you need to set it equal to -1200 instead of 1200 since the question refers to a loss and p(x) is a function of profit per unit (and a loss = negative gain)