1. If you use 3 right angles at the vertices A, B, C you would get a square but not a pentagon.
2. Therefore the right angles must be at A, B and D. To be an equilateral pentagon the triangle CDE must be an equilateral triangle too. But there doesn't exist an equilateral right triangle.