1. Here's the first one : https://www.desmos.com/calculator/yxwbkrkywo
The midline is y = -2
The first point is (pi/4, -2)
The second point is ( pi/2, -6)
2. Here's the second one : https://www.desmos.com/calculator/a1sj0xcrjk
The midline is y = -5
The first point is (pi/4, - 5)
The second point is (7pi/24, -8)