These are the prisoner's hints for those puzzles, in case you couldn't get them (Vig commandment):
Vvudtrhz eazgze, fea hmvganm mzgroe, xjxphk epnudsjl.
Vvudtrhz eazgze. Fhvufirg cbsqlf.
And then the answers:
vvudtrhz jbk cbsql, gzqrgr hcd niege, fbmj wz niaddc. fh khe afs rrj bg qb arf bq rse tpuqx, i gkurx mjs oadvqs qvzjh ftrbz eszx rsablr rrj.
I didn't get how to figure them out based on the poems though.
gjqdygkurt tpr zatulzk phopuze = bqq eaw vka = fea L syrlu, ozp tuhz qhevwbxy ob fab ugqmgsr wti ngisx rohqp e yhxsd. mnq iav gag rqyoav ux'f mysxhe txqwgl @ vvq xafw eycigf mzd gkqr lhw wzhoxh flr mtwzutl va cbn isf fhvufc-fbz. W pan'g nzsj aqk kau thf xubthqqn suaq gag ozsey saiz. Tts fte crqqf lwdbasrg fs ox lief agpawcagfuo aag ksh tehgmlyb sig mjs mzsjhdw gatcgsh gkq tebuczqr?