A man and a child painting a post.
The boy and his father making the post look better.
Painting the post makes it look better.
A man and child could be assumed to be a father and his boy and painting a post is making it look better.
They are a boy and his father because they are a man and his child.