ksin(x-a) from 3 cos x + √3 sin x
I assume you want to find k and a from ksin(x-a) = 3 cos x + √3 sin x, in which case: