you just need to put ABCD in the ascending order before each compound and then take O = 1. then just put its values after making equation and solve those equation. Then you'll obtain a fractional value on both the sides, balance it by multiplying it by their denominator's LCM. Solve the bracket and there you got your answer. Please give a like if you understood.