A uniform beam of length 12 m is supported by a horizontal cable of mass 5 kg at the top and a hinge at the bottom making a 45-45-90 triangle. The tension in the cable is 400 N. What are
(a) the weight of the beam and
(b) the horizontal and vertical components of the force at the hinge? (remember: torques and forces!)