I got these questions wrong, please explain how to do this

Answer:
Also I couldn't see the numerator in question 19 but if u can just comment it I can solve that one also if it will help u
Step-by-step explanation:
18.)
[tex] \frac{5}{2 } = \frac{7}{x + 2} [/tex]
to get a common denominator, we usually just multiply the two denominators. But what we do to the bottom we must do to the top as well.
so we can say
[tex] \frac{5(x + 2)}{2(x + 2)} = \frac{7(2)}{2(x + 2)} [/tex]
so we multiplied the first fraction by x+2 to get the common denominator and the second fraction by 2
now that the denominators are the same we can drop them. So:
5(x+2)=7(2)
5x+10=14
5x=4
x=4/5 or 0.8
20.)
We will once again multiply the denominators to get a common denominator.
[tex] \frac{4}{p - 5} = \frac{3}{p - 1} [/tex]
[tex] \frac{4(p - 1)}{(p - 5)(p - 1)} = \frac{3(p - 5)}{(p - 5)(p - 1)} [/tex]
[tex] \frac{4p - 4}{ {p}^{2} - 6p + 5} = \frac{3p - 15}{ {p}^{2} - 6p + 5} [/tex]
now we can once again drop the denominator. So:
4p-4=3p-15
4p-3p=-15+4
p=-11