Use direct and indirect proportion.