http://img295.imageshack.us/img295/6016/55877904.th.jpg
I tried everything to solve this.
XL and XC are an inductor and a capacitor (respectively).
I start with the idea that there are 50 V on each of them,
and that a current of 5 A flows between,
and that the generator has no effect,
because...