The diagram in Fig. 5 shows a beam of negligible weight balanced by constant forces P and Q Derive the relationship between x and y.