Please help in math!! (Question in picture) (question 1 and 2 please)

Hey there mate :)
As per question,
Given that Nicole made:-
[tex]5 {x}^{3} - 13x^{2} - 20x + 800[/tex]
And she packed:-
[tex](x - 5)[/tex]
1. The number of boxes can be obtained as the quotient when 5x^3-13x^2-20x+800 divided by x-5.
(The division part is attached as image. Check it)
Thus the number of boxes is 5x^2+12x+40
2) The number of cupcakes left unpacked is equal to the remainder when 5x^3-13x^2-20x+800 divided by x-5.
Thus, the number of cakes left and unpacked is 1000