a)
i - appreciation of domestic currency = exports rise in price imports reduce in price so TOT improves
ii - depreciation of foreign currency = import price falls so TOT improves
seems kind of dodgy but
b)
increase in TOT means export price > import price e
so sell less exports buy more...