5x + 10y = 18
x = y - 6
Which of the following equations is the result of substituting y - 6 in for x in the first equation?

5x + 10y - 6 = 18
5y - 6 + 10y = 18
5y - 30 + 10y = 18