Not sure how to solve this problem?

Amplitude of voltage across an entire series circuit is 17V. The inductor alone has an amplitude of 30V and across the capacitor it is 22V. To the nearest tenth, what is the voltage across the resistor?

Can anyone help??

Thanks!