The figure shows a stationary arrangement of two crayon boxes and three cords. Box A has a mass of 12.6 kg and is on a ramp at angle θ = 28.9o; box B has a mass of 6.06 kg and hangs on a cord. The cord connected to box A is parallel to the ramp, which is frictionless. (a) What is the tension in the upper cord, and (b) what angle does that cord make with the horizontal?