Concept:The function is a product of two simpler functions, so we apply the product rule of differentiation.Explanation:We are given y=xsinx and need dxdy.Write the product as two functions: u=x and v=sinx.Differentiate each one with respect to x.The derivative of x is dxdu=1.The derivative of sinx is dxdv=cosx.The product rule states: dxdy=vdxdu+udxdv.Now substitute u, v, dxdu, and dxdv into the formula.This gives dxdy=(sinx)(1)+x(cosx).Simplify the terms to obtain dxdy=sinx+xcosx.This corresponds to option B.Answer:dxdy=sinx+xcosxThus, the correct option is B.