If x dy dx-y x=6x,0<x<π /2, then general solution of the differential equation is
A. \(y=\cos x+3{x}^{2}+c\), where c is a constant of integration.
B. \(y+\cos x=3{x}^{2}+c\), where c is a constant of integration.
C. \(y=3{x}^{2}\cos x+\cos x\), where c is a constant of integration.
D. \(y\cdot \cos x=3{x}^{2}+c\), where c is a constant of integration.