1)sin^2x-5cosx=sinxcosx-5sinx

2)cos^2x-7sinx+sinxcosx=7cosx

help