The pressure group after the second dive is needed if you are planning a
third dive, but it's also useful to know for health purposes, to make you
aware of the relative amount of Nitrogen left in the blood.
The find the pressure group after the second dive, you need to know the time
elapsed after the first dive (the surface interval), and you need to know
the pressure group you exited the first dive with. Of course you also need
to know the second dive time and max depth, ascent time.
Are you studying with PADI or another organisation?
Steve