兼ねる
JLPT N2 · Verbかねる(kaneru)声调 2
to be unable to; to find difficult (unpleasant, awkward, painful) to do; to serve two or more functions or roles simultaneously; to contain (or combine) two or more features; to work in two or more jobs simultaneously (positions, etc.); to do alongside
墓参りを兼ねて田舎に帰った。— I went back to my hometown, combining it with a visit to the family graves.