What is the relationship between Qian Fu and Wen Jia?

it doesn't matter. According to Baidu Encyclopedia query:

1. Qian Fu (1461-154), the word Yu Qian, named Hetan, was named Hetan because of his family's Hetan, and was awarded the title of No.1 scholar in the 13th year of Ming Hongzhi (15).

2. Wen Jia (151-1583), born in Changzhou (now Suzhou, Jiangsu), was a painter and calligrapher in the Ming Dynasty. They are not from the same period, and there is no relationship between them.