HELP with valuation of credit risk of a foreign exchange transaction

Hi guys!! I need clarification on the valuation of credit risk of a foreign exchange transaction: Can someone please explain (in plain terms) how to determine the PVinflow and PVoutflow amounts with respect to the long and short parties in a foreign exchange transaction? Look forward to your feedback. Thanks.

hi fellas, anyone with a better way of explaining this topic???