You can just follow the comment above which I posted. That is a detailed one. Coming up to your query there are Non-NASA images in your image. See the 4th image (black hole one). It is CC by-SA 3. You can get the author and license details in the wiki link.
Just follow the 3 rules which I mentioned above. I have given an example for you. Actually, there is nothing more to it(at least in a minimal way). If you are confused about an image license, the better thing is to look for a usable image.
If you are still confused you can talk to me in discord. To be honest I have nothing new to explain.
Next time onwards I will try to implement it!
In my opinion, you should edit this post itself, incorporating the changes.
Yup bro the 4th one is the gif file which I have taken from the Wikipedia and I did the changes as you suggested! 😊