Counting lines in text - 行目の 計算
When referring to lines of text on a page, I know how to say 「15行目」or「71ページの5行目」, etc.
But what is the best way to say "next to last line" or "penultimate line" or "second line from the end"? I've found the phrases 「最後の行の横に」 and 「最後から二番目の行」。 Are these natural? Is there a better way to say it?
And what about "third line from the end" or "fourth line from the end" etc.? Would I say 「最後から4行目」?