y varies directly as x and inversely as the square of z is written as​