Unlike the previous problem, this one requires application of the Law of Cosines. You want to find angle Q when you know the lengths of all 3 sides of the triangle.
Law of Cosines: a^2 = b^2 + c^2 - 2bc cos A
Applying that here:
40^2 = 32^2 + 64^2 - 2(32)(64)cos Q
Do the math. Solve for cos Q, and then find Q in degrees and Q in radians.
Answer
Elena must have substracted 1/2x from both sides of the equation.
Lin must have multiplied both sides of the equation by 2
Explanation
The equation given is

For Elena to have arrived at

Then Elena must have substracted 1/2x from both sides of the equation.
That is;

For Lin to have arrived at

It shows Lin must have multiplied both sides of the equation by 2
That is;
2x^2y(y^3-5)+14(y^3-5)
(2x^2y)+14(y^3-5)
2(x^2y+7)(y^3-5)
x^2y+7 Is a factor
Rounded to the nearest whole number, it seems as if she will lose 40 pencils at this rate.
2/3 = .66
60x.66=39.6
39.6 - 40
Hope this was helpful!