If you can figure out the magnitude of one of the signals when the other is zero, then you use that as a reference to determine the other (phase = 0, amplitude = a).
c*sin(wt+phi) = a*sin(wt) + b*sin(wt+theta) where c is the measured amplitude of the 400 Hz signal, and phi is the measured phase.
The result is two equations:
(1) c*cos(phi) = a + b*cos(theta)
(2) c*sin(phi) = b*sin(theta)
remember if b=0, then c=a and phi=0, and if a=0, then c=b and phi=theta
If you solve for theta, then you can get
(3) cot(theta) = [cos(phi) - (a/c)]/[sin(phi)]
substitute theta into (2) to solve for b.
The only limitation to this is it is only valid from +90 to -90
Randall Pursley