I pretty sure the best answer would be f(x)=cbrt(27-x)
cbrt means cube root by the way.
6 is multiplied by 2 1/3 to get to 14. 70 divided by 2 1/3 is 30. The model of the train is 30 inches long.