Let one side of one of the square to be cut off, be S
Length of each side of tin needs to be decreased by: 2S cm
We then get: (30 - 2S)(58 - 2S) = 348
Using the quadratic equation formula, or completing the square, S, or length of a side of one of the squares =cm