An isosceles triangle shaped "Beware of Dog!" sign with equal length blue and red edges is hung on a rectangular garden wall with a nail at one corner as shown in the figure.
This sign, which can rotate around the nail, from the position shown in the figure
- if rotated $75^{\circ}$ clockwise, the black edge,
- if rotated $40^{\circ}$ counterclockwise, the blue edge,
- if rotated $x^{\circ}$ clockwise, the red edge
becomes parallel to the top edge of the wall for the first time.
Accordingly, what is x?
A) 5 B) 10 C) 15 D) 20 E) 25