solve for X and Y (WILL GIVE BRAINLIEST TO RIGHT ANSWERS)

Answer:
x=21 y=17
Step-by-step explanation:
to find the opposite angle of (8y+2) you have to calculate 180-42
we know that in a parallelogram the opposite angles are equal
8y+2=138
8y=136
y=17
in a parallelogram the sum of the angles is 36
2(8y+2)+2*2x=360
2(8*17+2)+4x=360
2(136+2)+4x=360
272+4+4x=360
276+4x=360
4x=84
x=21