Hi Sarah,
If your mother's share of the property was willed to you on her death, then you will be liable to Capital Gains on the whole property.
If there is no will, there her share goes to the estate and the estate pays Capital Gains tax on any gain.
The costs of her care cannot be considered when calculating capital gains.
You will need to contact our helpline here:
Income Tax: general enquiries
For more information, as this will be a more complex calculation and is beyond our ability to give general advice.
Please also have a look at the guidance here:
Tax when you sell property
Thank you.