A triangular corner with side lengths $DB=EB=1$ is cut from equilateral triangle $ABC$ of side length $3$. Find the perimeter of the remaining quadrilateral.

Let's think step by step and output the final answer within \boxed{}.
user