Available rods lengths in the shop = 144 inches and 180 inches.
Question: How many rods do I need to purchase if my requirement is as below?
70 inches each -> 3 rods
45 inches each -> 2 rods
The choice of length of the rod to purchase could be either 144 or 180 inches and they both are of the same price per inch/foot. The goal is the make less wastage possible.
With Brute force, I came up with this. (Note: I have simplified the question for lesser requirements)

This is the multiple length cutting stock problem. Via integer linear programming, I confirmed optimality of all but the last of your solutions. The last one can actually be satisfied with 0 waste by taking 6 of the 144" rods, each covering 3 of the 34" and 2 of the 21" demands.