Solve inverse proportion problems (#812)