يُوسُف is a foreign proper name written in Arabic with four letters, ي و س ف. Under the familiar rule, it is a diptote.
حَضَرَ يُوسُفُ — Yūsuf arrived; nominative subject with ḍamma, no tanwīn.
رَأَيْتُ يُوسُفَ — I saw Yūsuf; accusative object with fatḥa.
مَرَرْتُ بِيُوسُفَ — I passed by Yūsuf; genitive with fatḥa.
This is an additional teaching example, not another quotation from the printed passage.