If the figures are similar, then the angles are the same. So that means that angle H is equal to angle D (you can count he little arcs in the angle to find it's matching partner). Since this is true:
Which is the same as . Solve for x by dividing both sides by 4: