“Turn the image into a link by surrounding it with necessary element tags.”
This implies that you are going to need to surround the img tag with the necessary a tags to turn it into a link. This is basically the same thing you did when you turned the words cat photos into a link in the p element.
When you surround something you place it between things. For example, to make the words cat photos a link you surrounded it, or placed it between opening and closing a tags.
You’ll need to show us your updated HTML so we can see what you did. To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key. You may also be able to use Ctrl+e to automatically give you the triple back ticks while you are typing in the this editor and the cursor is on a line by itself. Alternatively, with the cursor on a line by itself, you can use the </> button above the editor to add the triple back ticks.
Do you see how you surrounded the words cat photos with an opening and closing a tag? That’s exactly what you want to do to the img tag. This is how you turn anything into a link. You surround it with opening/closing a tags.