Brahim, relax. You know English well, and you just asked 2 questions, and you knew how to ask them.
I don't know arabic grammar, but most of the European languages, including English have 2 ways to ask questions.
The first way is to use the question word first. These words are typically who/what/where/when/ why/ how.. etc.
Who said that? What is the situation? Where were you yesterday? When did it happen? Why did he do such a silly thing? How can we make this work? etc.
The other ways are to invert the subject and action, and another way is to add an ending to the sentence, asking if it is correct.
Eg. Inverting. The cat is on the roof of the car. (statement). Is the cat on the roof of the car/ the car roof? (question)
I am going shopping tomorrow. (statement). Are you going shopping tomorrow? (question). I could also repeat the statement, but raise my voice at the end, sort of like saying, 'aren't I?' or 'isn't that true?'.
And then you can end the statement part with that question. Eg. a man say to his wife, "We are meeting David and Susan for lunch on Sunday, aren't we?". This is the situation, isn't it?
Do you/they/we know what to do?
Does he/she/it go to school?
Have you/they/we ever been to Mauritania?
Has he/she/it ever been to England?
https://www.thoughtco.com/how-to-ask-questions-in-english-1211981
You can find a lot of similar articles, just google them.