A rectangular piece of metal is 25 in longer than it is wide. Squares with sides 5 in long are cut from the four corners and the flaps are folded upward to form an open box. If the volume of the box is 2730 in^3, what were the original dimensions of the piece of metal?