Hello MHF! First time poster here, the following is my problem:

I solved the above by grouping the logs together, resulting in the below:

By removing logs I ended up with:

I simply have no idea how to solve this (it's probably simpler than I might imagine) but the x cubed is confusing me and I cannot find anything I can pull out in common that lets me solve with with an answer of 10 for both brackets or whatever.

Any help is appreciated on the matter.