i think the answer is 90 plus 180 minus 240 = 30deg.
always subtract variable signal from reference signal and anytime reference signal is smaller than variable add 180 to reference signal and then subtract.
I am not sure if this method is correct just an inference i hv drawn after seeing the correct answers to these type of numericals