Mr. M wants to construct a house for his pet bunny out of a cardboard box. To make the house he is going to cut squares of side length x cm from each corner of a rectangular box (see diagram below). The original dimensions of the uncut box are 51 cm by 45 cm. He wants the volume of the house to be 7175 cm^3.
https://i.gyazo.com/99baf276d65d6b04a6841faa6e664378.png
a) Determine an equation that models this situation.
b) Find the dimensions of the box.