Answer:
The value of y is 216
(and the value of x is 12)
Explanation:
The general formula for a geometric sequence is,

Where n represents the nth term, a_1 is the first term and r is the common ratio,
we see that,
r = 6,
the first term is,
a_1 = (x-6)
the 2nd term is,
a_2 = 3x,
the 3rd term is,
a_3 = y, finding y,
first we find x, using the above given formula we have,

x = 12,
Now, for y we can use the relation between a_3 and a_2,

y = 216