Let's take the image "circle.png" available in the HW6 as an example: as you can see, the green square is not overlapped by any other ones. This means that it is the last one in the order beacuse, if you think of squares as if they were cards in a deck and you start laying them on a table one by one, you'll see why the green square is the last one. Meanwhile, the pink square is the first because it has been overlapped by the green (which we said it was the last one) and the grey which is the second "card" in the order because it is upon the pink one but under the blue one (which is under ther green one who's the last "card").
I hope i made it clear for you how intersection works on this HW. If there's still something not clear, don't be afraid to send me a message and don't forget to select this answer as the best one xD!
------------------------------ ITA -------------------------------------------
Prendiamo come esempio l'immagine "circle.png" disponibile in HW6: come puoi vedere, il quadrato verde non è sovrapposto ad altri. Questo significa che è l'ultimo nell'ordine perché, se pensi ai quadrati come se fossero carte in un mazzo e inizi a posarli uno ad uno su un tavolo, vedrai perché il quadrato verde è l'ultimo . Nel frattempo, il quadrato rosa è il primo perché è stato sovrapposto al verde (che abbiamo detto era l'ultimo) e al grigio che è la seconda "carta" nell'ordine perché è sopra quello rosa ma sotto il blu uno (che è sotto quello verde che è l'ultima "carta").
Spero di averti chiarito come funziona l'intersezione su questo HW. Se c'è ancora qualcosa che non è chiaro, non aver paura di inviarmi un messaggio e non dimenticare di selezionare questa risposta come la migliore xD!