Answer:
X=6 I believe
Step-by-step explanation:
18, 81, 1188, 1818, 1881, 8118, 8181, 8811
Please see the attached file for explanation