please answer both

How is the value of currency determined?

Imagine one U.S. dollar equals 50 Mexican pesos. You plan to visit Mexico. How many pesos will you receive in exchange for $200?