According to a general definition capital gains tax or CGT is the type of tax that is imposed on profits…