Grammatically

Would these two sentences be grammatically correct?
How do you know if a sentence is grammatically correct?Can we use would two times in a sentence?What are these grammatically correct?Do this or does ...