Please double check the work, Have gotten 2 different answers on this. I got position sequence as 6,5,7,2,1,4,3 and then also as 5,4,7,6,2,1,3… Can you please show how you did it as well an explain why one is correct and one is not. I would appreciate it so much!

Seven jobs must be processed in two operations: A and B. All seven jobs must go through A and B in that sequence—A first, then B.

Determine the optimal order in which the