How can i get second image of page media i have used code like this but not getting second image
For the last image
{% set first_image = page.media.images|last %}
For Second image we try to get but no luck
{% set first_image = page.media.images|slice(1, 1) %}
Please guide me on my above question.