Your leverage level (i.e. 10x) does not affect your PNL, just your ROE%.
Leverage concerns the amount of margin on the position. The higher your leverage level the lower the amount of margin on the position, the lower your leverage the higher the amount of margin on the position.
The way your Realised PNL is actually calculated is:
Unrealised PNL = Number of Contracts * Multiplier * (1/Average Entry Price - 1/Exit Price)
Realised PNL = Unrealised PNL - taker fee + maker rebate -/+ funding payment
To understand further how your Realised PNL is actually calculated, please take a look at the links below: