Let x = number of cm that the width is decreased
Area of new photo = Area of original photo - 264
(20-x)(30-x) = (20)(30) - 264
x2 - 50x + 600 = 336
x2 - 50x + 264 = 0
(x - 44)(x - 6) = 0
x = 44 or x = 6
x can't be 44 because then 20 - x would be negative
So, x = 6 cm
New dimensions: 14 cm by 24 cm