Finished 2nd problem (deflection of beam)