Subequations in one line with clubbed numbering

I am trying to write a bunch of short equations (subequations, actually) in a single line, and have their numbering clubbed and mentioned at the side end, mentioning them as a range for three or more equations.

Something like this:

So far, I found how to write the equations in one line with individual numbering beside each: How to place and number 3 short equations in one line?

But didn't quite get what I am looking for. Any help will be appreciated. Thanks in advance.

• welcome to tex.se! please always provide minimal workinf example (mwe), a small complete document beginning with \documentclass... and ending with \end{document} which we can copy and test. with this you will help us to help you! Sep 2, 2018 at 6:52

if i correctly understood you, than you looking for this:

\documentclass{article}
\usepackage{amsmath,amssymb}

\begin{document}
\begin{gather}\label{eq:1}
2=1+1
\end{gather}
\begin{subequations}\label{eq:2}
\begin{gather}