Q 4. Loss function is Wrong

The brackets for the loss function given are wrong.

L = ((y- f(x))^2)/2

This is the correct one but the loss given in the qn mixed the parenthesis so in the qn

L = (y - (f(x)^2))/2

here only f(x) is being squared