confusion with family titles

if my moms grandpa and my dads great grandpa is the same person does that make them cousins? how close is the blood line

a little clarification the man had two women one that’s my moms grandma and my dads great grandma and had kids with both of them.