Y = 12 because you multiply x by two to get x2, which is 30, and multiply y by two to get 12 - this is wrong, the answer is three, i did the math backwards
Just like any other variable, we complete the same process

Now we can test it, let's say k=4, d=6, and c=2, let's find the value of g

OR
Y = mx + b is the standard form for slope intercept