UBS interview question

how to solve different SDE.