Begin your sympathy letter with your reaction, and keep it short.
"I was deeply saddened when I learned about Jim's passing."
"When I heard of your father's sudden death, I was shocked."
"My heart broke when I heard your sad news."
Death leaves a heartache no one can heal, love leaves a memory no one can steal.