it's the painting that … painted
Es el cuadro que pintó Tom.
It's the painting that Tom painted.
Es el cuadro que pintó Mary.
It's the painting that Mary painted.
Este es el cuadro que pintó él mismo.
This is the painting he painted himself.