I am attaching an image with the two solutions represented by the blue areas highlighted in your original graphs. Let me know if you have questions.
7.5m questions
10.1m answers