That looks correct. You could simplify the result a bit, to write it in the form .
For (b), the maximum deflection occurs when x=0. So just put x=0 in the answer to (a).
oh ...
i thought we need to remove W because it is said in the question that we should neglect the weight of the beam.
so the answer for the second part is :
This is the final answer yeah?
Thanks