Read the instructions on the web site for how to measure cable length. Length depends on how wide the boat is and how far the control box is from the engine. For a standard side console it is the distance from the box to the stern, plus the distance from the side to the engine plus a couple of feet to allow the engine to pivot. If you have a center console you need to figure out the route the cables take. Only you can make those measurements.
General rule is to measure in straight lines from the con to the side then from there to the transom from there to the center of the engine, add them all up and that is your length, round up if it is an odd measurment, but if the company web site has different directions use those.