Find the inverse of a rational function (#353)

Find the inverse of a rational function (#353)

Swap xx and yy, solve for yy (often involving cross‑multiplication).