A carpenter is cutting a long plank of wood of length N cm and fixed width of 2 cm into pieces of shorter lengths. Given that each length has a specific price, it is your jo