Answer:
"Rockwell painted the fence" - Past simple tense 
"Rockwell had painted the fence before I arrived" - Past perfect tense 
"Rockwell was painting the fence when I arrived" - Past continuous tense 
"Rockwell had been painting the fence when his friend had arrived" - Past perfect continuous tense.
Step-by-step explanation: