How to identify direct and inverse proportion