Concept:To form a differential equation from a given relation, we differentiate successively to eliminate the arbitrary constants (here A and B).Explanation:Start with y=A−xB.Differentiate once with respect to x: dxdy=y1=x2B.Thus x2y1=B.Differentiate again: dxd(x2y1)=dxd(B)=0.Using product rule: 2xy1+x2y2=0.Factor out x: x(2y1+xy2)=0.Since x=0 in general, we get xy2+2y1=0.Answer:The required differential equation is xy2+2y1=0, which matches option B.