how to find out margin cost ?

if we purchased RS 57 and sale 63 wht is the margin profit ? how to calculate ?

DEEKSHA V K's image