How to find consumer surplus and producer surplus?

How to find consumer surplus and producer surplus?