A triangle ABC has a base of (x + 3) cm and a height of x cm. If its area is 5 #cm^2#. Calculate the length of its base.