You can solve equations in such different ways or techniques.
One of those ways is by using formulas, by that equations given, you can form too your own formulas to solve those.
Next, is to think only by yourself, sometimes it is only by using what we call the common sense.
Remember those basic ways to answer in equations in Mathematics just like factoring, using the product law, elimination, transposition and other ways.