Let the length you need to cut = X
The new dimensions would be 33-x and 24-x
The ratio needs to be 2/3
So you have (24-x) / (33-x) = 2/3
Cross multiply:
2(33-x) = 3(24-x)
Simplify:
66 - 2x = 72 - 3x
Add 3x to each side:
66+x = 72
Subtract 66 from both sides:
x = 6
You would need to cut 6 inches off of each dimension.