Rewrite the sentence using the words in brackets. Also what's the tense?
1)As soon as he painted the wall, he had a cup of tea (has painted)

2)On finishing his work, he will go for a walk (has finished) ​