Solve direct proportion problems