'Painted the house' and 'did the painting of the house' mean two different things. How do we know which meaning is intended here?
'Peter did the painting of the house' is something one might say if Peter is an artist who painted a picture of a house.
Also, if Peter is a man of many trades, like carpentry, painting, bricklaying, etc. The context could be such that it can correct