how to calculate freemargin and equity for opened orders

 
Hi,

I need calculation of freemargin and equity for opened orders.

If i close open orders, what will be free margin and equity?

Is it possible to calculate?
 
Reason: