Original: Smart's two most widely-known works are A Song to David and Jubilate Agno, both at least partly written during his confinement in asylum.
Simplified: They are A Song to David and Jubilate Agno.