Margin Question

[Deleted]  
How is the used margin calculated? Thanks