Recognize direct & inverse variation