I am new to Latex. I need some help with LaTeX editing.
I am required by my course supervisor to copy a few exam questions as exercise. Below are the questions (some are hidden to avoid troubles):
Here are my following questions:
How can I input the inline matrix equation as shown? I have tried the Overleaf solution, but the output is awful.
Trying to typeset an inline matrix here $\begin{pmatrix} a & b\\ c & d \end{pmatrix}$ but it looks too big, so let's try $\big(\begin{smallmatrix} a & b\\ c & d \end{smallmatrix}\big)$ instead.Also, how can I type in the mark indication (i.e. the circled
[6 points]) as the format shown in the picture? I asked my tutor and was told that "\hfill" might help. However, it didn't work.
I use the following format for the listing:
I would be grateful if someone can help.


