Here is Canvas object wihch demonstrate the problem.

Begin this problem by considering the distributed load w on the beam.

For this case, the midspan deflection is given by:

And the slope at the supports is:

Note: Because this loading is symmetric, the slope at each support is equal in magnitude but opposite in direction. Remember to be attentive to the minus signs.