In clearance #352 six numbered balls wait on the cloth and the white sits on the head spot. There is no opponent and no fixed order — only the count of shots, fouls included.
3 of the six balls lie within 35 cm of a pocket — 2, 3 and 5 — so the first pots are there. The skill is in where the white stops after them. The side pockets are the natural target for ball 5.
No two balls are touching, so every ball can be played on its own.
Playing with no aiming error, our Expert computer cleared this layout in 8 shots, potting in the order 2 → 4 → 5 → 6 → 3 → 1. It committed 1 foul on the way, each counted as an extra shot. 2 of its shots potted nothing: they were position or safety shots to set up an easier pot.
Think two balls ahead. Before each shot, decide which ball comes next and stop the white on the side of the current ball that gives an angle to it.