In ΔABC,∠B=90∘. Find the sides of the triangle, if AB = (x + 2) cm, BC = (x + 4) cm and AC = (x + 6) cm.