A 10 m long uniform beam weighing 100 N is supported by two ropes at the ends. If a 400 N person sits at 2.0 m from one end of the beam, what are the tensions in the ropes?