How can I type the above in overleaf ?
Here is my MWE
\documentclass[english,12pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[left=1.5cm, right=1.5cm, top=1.5cm, bottom=1.5cm]{geometry}
\usepackage{graphicx}
\usepackage{mathptm}
\usepackage{newtxtext}
\usepackage{mathtools}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{xcolor}
\begin{document}
\begin{enumerate}
\item $-2\leqslant x\leqslant 8$.\hfill(2 marks)
%%%%%%%in \leqslant is < is too wide and = is tilted
%%%%%%% I'm strictly in dire need of the inequalities represented by the screenshot.
\end{enumerate}
\end{document}
