This is a strange shape for a ship. Anyway, the horizontal cross-sections of the ship are squares. The side length of the square is described by the...
Choose y=f(x), such that it increases per your requirements and passes through y = 1 and 125. E.g. y=x2.
Find x for y values of 1 and 125 - minx and...