a=r\frac{\sqrt{2}}{2}, b=r\sqrt{2}