How to write three words at the beginning of nine-character books and ancient poems

The title of this poem is written in the middle of the first line.

If there is a subtitle such as "-XXXXX", the dash and the main title generally overlap. The second line at the bottom right of the main title is written with the subtitle, the name is written in the middle of the third line, and the poem is written below. Each line of poetry should be written in the middle of the paper or in four blanks.