Trying to learn sequent calculus and so I am trying to work thru some examples to get a better grip/understanding but the following question is not answered at the back of the book. I wrote my guess in the blue writing in the attached picture, however I am unsure of my answer because phi appears in the consequent under the first line. So I am wondering if it should look like my second guess which is written in red. The book I took this from is Mathematical Logic, by Hodges. Hope somebody can explain what is correct and why, please!!!

