implement the fb share and loan emi calculation