What is the next number in this pattern? 2, 6, 18, 54, ...
Credit: Original questions written for Kosoma to the MoEYS curriculum and checked by an independent solve.