If the function f(x) uses the dollar U to convert into yen Y, we can say that it is written as Y = f(U), meaning that the number of yen Y is a function of the number of dollars U.
The inverse function would swap the places of these variables, writing it is U = f(Y), meaning that we would need the number of yen Y as a given, to solve for the number of dollars U.