If x is directly proportional to y => x = ky
If x is directly proportional to square of y => x = $$ky^2$$
If x is directly proportional to cube of y => x = $$ky^3$$
Here, 'k' is a proportionality constant.
When x is indirectly proportional to y => $$x=\dfrac{k}{y}$$