will you have not yet answered my question! 
So you said the company should produce 23 phones and 18 laptops for part i, correct?
Well, that question is worth 2 marks, so I'm wondering if it will be 1 mark for the correct amount of phones and I mark for the correct amount of laptops. At any rate, 18 laptops is correct, but 23 phones is incorrect. So, if my prognosis of how they are going to score this question is correct you should get 1 mark for part i.
Now, for part ii. It's only worth 1 mark, so I'm wondering if they're only going to give out the mark if you have the correct answer. But, I think if you have correctly input your values for part i. into part ii. then you're showing that you know how to perform the computation that the question is asking you to do, and that your answer is only incorrect consequently because of a previous mistake.
If they're kind, then I think a lot of people will get the 1 mark for the last question, as showing how to use an objective function isn't too hard, and it would be a challenge to make a mistake whilst computing the answer (although I'm sure I'd find a way).
But that would make me think that they're going to be strict, and only award the mark for the correct answer.
At any rate, I think you've scored at least 1 mark, and quite possibly 2 marks for that section, provided they're going to be a bit generous with consequential marking.