One side of a square makes an angle alpha with x-axis and one vertex of the square is at the origin, prove that equations of its diagonals are y(cos alpha - sin alpha) = x(sin alpha - cos alpha) and y(sin alpha + cos alpha) + x(cos alpha - sin alpha) = a