As soon as you see a question asking you to integrate the square of sin, cos or tan, your first approach should be to use trigonometric identities and double angle formulas
Let us use Line 1 and Line 2 as an example.
Line 1: y = 2x + 3
Line 2: y = -0.5x + 7
Step 1 - Try and plot the two functions on a x, y coordinate axes.