As shown in figure the tension in the horizontal cord is 30 N, the weight W and tension in the string OA (in newton) are :