I have this matrix equation:

Where beta and omega are variables

So we have 2 first-order equations and they need to be solved at once since there are both beta and omega in each equation

Please help me with the code.
I've been searching all day and still haven't found the solutions