Click here to read the complete problem statement.
How can I solve this?
try to find the common area . then subtract it