Her friend Tom bought her a gift last sunday.
另外的定语从句的:Tom,who is her friend,bought her a gift last sunday.
还有一种:Tom,a friend of her,bought her a gift last sunday.
简单一点的:Her friend Tom bought a gift for her last sunday
复杂点的相比:Tom, who is the friend of her, bought a present for her at last sunday
Tom,who is her friend,bought a gift for her last Sunday.
Last Sunday,her friend,Tom bought a gift for her.
Her friend Tom bought her a present last Sunday .