[проверьте, пожалуйста
y'=p(x)
y"=p'(x)
p'tgx=p+1
p'/(p+1)=1/tgx
dp/(p+1)=dx/tgx
ln(p+1)=lnsinx+c
p+1=c*sinx
y'=c*sinx-1
y=-c*cosx-x+c1