Direct and inverse variation