This is a college textbook, and that explains how to solve it.
Another example: https://stemjock.com/STEM%20Books/OpenStax%20CA%202e/Chapter%201/Section%201/OSCACh1s1e32.pdf
Alternatively, here is another example: https://www.kingphilip.org/wp-content/uploads/2021/07/Supplemental_Topics_from_Algebra_1.pdf
In case you can't find the correct part:
