Add featured images to RSS feed

We can add featured image to rss feed. Even we can add it to custom post type rss feed also. Like

Just need to add this code to functions.php file.

This is customize code, because I want to show this type of post image and this