If you let the side of the square be l, then the area of the square is l^2. If you add 10 to one dimension and 12 to the other, then the new area should be given by (l+10)(l+12)=new area (why?). Since you know that the new area is three times the original, you can solve for the length of the square.