The larger leg of a right triangle is 3cm longer than its smaller leg. The hypotenuse is 6cm longer than the smaller leg. how many centimeters long is the smaller leg  

please explain how you got it