How do I turn a polynomial into a matrix and vice versa

No.11621371 ViewReplyOriginalReport
I can't figure this shit out and i can't find it on google.

like if I have the last polynomial in pic related would the equivalent matrix be
[2]
[-5]
[1]
[3]

thanks buster browns :^)