https://gaviki.com/blog/find-the-inverse-of-the-function-fx12/