f for friend and f for formality means the relation perform only for formality is friend. d for dil and d for dost means the relation perform by heart is dost.