Answer:
3 1
3 2
5 1
5 2
Explanation:
Nested loops continuously loop the outer loop until the inner loop is done looping. So for this instance, the outer loop is [3,5]. The three will remain constant until the end of the inner loop, [1, 2], which will then bring the outer loop to its 5. So from the beginning, the outer loop uses numX equals 3, and the inner loop uses numY equals 1.
3 1
The inner loop then uses numY equals 2.
3 2
Then back to the outer loop where numX equals 5.
The inner loop starts again with numY equals 1
5 1
The inner loop then has numY equals 2
5 2