The side AB square ABCD is parallel to the x-axis. Find the slopes of all its sides.
Also, find :
(i) the slope of the diagonal AC,
(ii) the slope of the diagonal BD.
ABC is an equilateral triangle of side 2a. Find each of its altitudes.