the top rectangle is overlapped by a gradient that has its blackest part centered around the vertical green line that splits the top rectangle
the bottom right corner of the area covered by the top gradient is aligned with the corner just below the top rectangle
the bottom rectangle is overlapped by a gradient that is displaced upwards with the maximum displacement the middle indicated by the vertical green line that splits the bottom rectangle
no part of the bottom gradient extends outside the bottom rectangle