Let $a $ and $ b $ be integers and consider the following subset of $ \mathbb{Z}. $ $$ a+b\mathbb{Z} = \{ a+bz \mid z \in \mathbb{Z} \}. $$ What is the intersection of $ a+b \mathbb{Z} $ and $ c+d \mathbb{Z} $ for integers $ a,b,c,d. $ Justify your argument and prove that the set $ \{ a + b \mathbb{Z}\mid a,b \in \mathbb{Z}\} $ form a basis of $ \mathbb{Z}. $
What I have done so far: I think that the intersection should be of the form $ x + bd \mathbb{Z} $ but not sure how to find $ x. $
Also would appreciate if someone could give me a hint for the basis part.