a = pi * 2 / 2; // 180 degree angle// Of course, in this case, you can just use pi
a += pi / 2;
a += pi / 4;