Since the second equation is x in function of y, we can use the substitution method to find y and then find x
First, we substitute x from the second equation into the first equation:
[tex]\begin{gathered} 6(-2y-5)+8y=-18 \\ -12y-30+8y=-18 \end{gathered}[/tex]And solve for y:
[tex]\begin{gathered} (-12+8)y-30=-18 \\ -4y=-18+30 \\ -4y=12 \\ y=\frac{12}{-4}=-3 \end{gathered}[/tex]And now we replace y = -3 into the second equation:
[tex]\begin{gathered} x=-2y-5 \\ x=-2\cdot(-3)-5 \\ x=6-5 \\ x=1 \end{gathered}[/tex]The x-value of the solution is 1