A has Rsx and B has Rs y.if A GIVES R4 to B, then B wii have twice as much as A.Write the equation connection x and y

help me solve this problem..

solve for W: 2L+2W=38

please and thank you!