If angle K is theta;
a is the hypotenuse
b is opposite
c is adjacent
If angle J is theta;
a is the hypotenuse
b is adjacent
c is opposite
This question is REALLY bad because it never tells you which angle they are referring to. I understand why you are struggling with it.
Best of luck!