Hi
I assume it is a long term capital gain. The capital gains would be 28 lacs. No exemption shall be provided for repayment of it's loan.
Taxes would be @20.8% of 28 lacs i.e. 5.824 lacs.
You may invest in a new residential house property or section 54 EC eligible bonds to claim capital gain exemption.