Let's look at the first one...

Recall the logarithm properties:

Alog(B) =

log(A) - log(B) = log(A/B)

So, we have:

Using the first property:

Now, we move all of the logarithms to the same side:

Now, we use the second property:

Can you finish from here?

The second problem is done similarly.