In the picture, a line p and a circle k are drawn. The line p passes through the points A and B, the diameter of the circle k is the distance AB.
Write down the equation of the line p.
Write down the equation of the circle k.
Calculate the sum of the areas of the shaded sections in the figure. Solve the task without using a computer.