Display featured image for a product dynamically on a page that isn't a product page using URL query

I have a query set up in the URL so a post ID is being sent across to a page that has a form on it.

Using this ID I am trying to display the featured image of the post ID that is being queried. I have tried using all of the following tags but can’t seem to get any to work.


Please would someone be able to advise me on what I could do to get this to work?

Thank you