Answer:
A letter written by Sonia Sotomayor to her mother is a primary source because it is a first hand eddition.
A commencement address given by Sonia Sotomayor is a primary source because it directly given by herself.
A documentary film about Sonia Sotomayor’s public speaking career secondary source because a third party is telling the story.
An essay about Sonia Sotomayor and other female justices is a secondary source because it is not a direct account is told by a third party.