Rotation formula :
\If
and
-axes are rotated through an angle
, the coordinates
of a point P relative to the
-plane and the coordinates
of the same point relative to the new
and
-axis and are related by the formulas
and
.
The general form is 
The angle
.
If
, then
, so
.
If
, then
, so
.
The equation is
.
Compare the equation with general form
.
and
.
Substitute
and
in
.
.
.
Apply formula:
.

.
Apply formula:
.

.
The rotation formulas are
and
.
Substitute
and
in
.

.
Substitute
and
in
.

.
The solution is
and
.
The solution is
and
.