In the figure below line de is parallel to line gg with transversal ag

From the problem with the information given we will have:
[tex]5y-18=x[/tex]&
[tex]2x+2y=360[/tex]Now, we will replace the value of "x" from the first equation into the second one and we will solve for "y", that is:
[tex]2(5y-18)+2y=360\Rightarrow10y-36+2y=360[/tex][tex]\Rightarrow12y=396\Rightarrow y=33[/tex]Now, we replace this value of "y" in the first equation or the second one to obtain "x", We will replace in the first equation in this case:
[tex]5(33)-18=x\Rightarrow x=147[/tex]So, the values of x & y are respectively 147 & 33.