Is 用 the kanji used for よう in these phrases?:
In all these expressions, よう, if written in Kanji, would be 様 (though it's kind of uncommon). In the first two phrases, it means 'it seems'. They mean 'It seems to be an accident' and 'It seems he/she/they have already gone home'. In the third phrase, it means 'like': 'Make it like me' (?). In the last phrase, it's part of the set phrase ～ますように, expressing a wish, desire, or hope: 'I hope I/you/he/she/they pass the test'.