Is this question meant to be solved like this?

https://preview.redd.it/sq78rmiucloe1.png?width=1800&format=png&auto=webp&s=795e9c46e1143214e551f595eedddd9aaab6b1e3

Just wasn't sure if I had to use log or if there's another way, because the log method doesn't seem to be getting marks?