A number is written as 14x.three times the number is written as 45x.what is x

If the base is n, we have

3(n^2+4n+x) = 4n^2+5n+x
n^2-7n-2x = 0
Now, we know n>5, since 45 is a number in base n.
Just guessing, I'd say x=4, making n=8

check: in base 8,
144
x3
----------
454