You got it.

You will have to measure out how much wire you will need. If you really have no clue, grab some string and lay it down the way you will run it. Add a foot to each length, then add up the lengths of all of the different wires you just measured.