Kind of poem 'written in a country churchyard' by Thomas Gray (5)
I believe the answer is:
elegy
(Other definitions for elegy that I've seen before include "Poetic lament (in a country churchyard?)" , "Work of poet" , "Mournful song or poem" , "Song of mourning" , "Poetic lament for the dead" .)