Describe supply and demand in the market for loanable funds and the market for foreign-currency exchange. How are these markets linked?

Describe supply and demand in the market for loanable funds and the market for foreign-currency exchange. How are these markets linked?