Green rectangle should be entirely within the black rectangle