Three rectangles

Problem Name:
Three rectangles
Site:HackerEarth
Links:
Tags:
Problem setters: