Question

$$y=\log_{7}(2-x)^{3}$$

Solve for x

$x=2-7^{\frac{y}{3}}$

Solve for y

$y=3\log_{7}\left(2-x\right)$
$x<2$