This is the answers of pat advanced level