The trick is to apply trinomial formula here, the coefficient is $${12\choose4,5,3}2^3=\frac{12!2^3}{4!5!3!}$$ To see this, first consider $(xy)$ as a whole body and then use binomial formula To convert to an equation, multiply by k, the constant of variation ⇒ y = k × 1 x = k x to find k, use the condition given that is y = 8 when x = 5 y = k x ⇒ k = xy = 5 ×8 = 40 equation is ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯∣∣ ∣2 2 y = 40 x 2 2 ∣∣ ∣ −−−−−−−−−−−− when x = 2 → yI wrote the code and tested no matter what you do in both the cases x & y will be incremented first as they are closely bind to "" and after they are incremented then only they are added, refer wiki for operator precedence if x = y = 0 initially, both cases will have answer 2, if x = 1, y =2 then both cases will have answer 5
Ex 4 1 8 If X 2 18 X 6 2 18 6 Then X Is Equal To