Method to find the unknown value in direct variation