how do you write a system of equation that is linear ?

can this two equation work?

2x – 3y = –2
4x + y = 24

That would be an example.

To solve it, I would change the 2nd to y = 24-4x
and sub that into the 1st.