Cut a rectangular cardboard that is 90 cm long and 42 cm wide into small square pieces with integer centimeter sides and equal areas, without any remainder. The minimum number of pieces that can be cut is $\qquad$, and the sum of the perimeters of all the square pieces cut in this way is $\qquad$ cm.
105,2520