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.
5.9m questions
7.8m answers