Calculating PIP Value 1000/(USD/JPY_ASK_PRICE) at the trade closing time.
10*GBP/USD_ASK_PRICE at the trade closing time.
P.S. USD_ASK_PRICE suggested only for USD nominated accounts. If not, instead of USD we take JPY and GBP crosses with deposit currency.