Suppose, I am given two elements and asked to show that they generate a given subgroup of a group, how can I show that ? I have read about the closures but don't know how to apply them in problems. For example, I found two questions, one asks to show that $(1234)$ and $(1243) $ generates $S_4$, and the other one was involving matrices where I have to show that two $2\times 2$ matrices one having the $ a_12 $ position $0 $ and the others $1$, while the other one has the $ a_21 $ position $0$ and the others $1$, they generate special linear group of $2\times 2 $ matrices over $\mathbb{Z}_3$ which is a subgroup of the whole group $G$ of $2\times 2$ matrices.
Thank you in advance .