We have almost everything we just need the total length of the top base, since it gives us the outer lengths we can find that by simply doing 4+6+15 which turns out to be 25
This step is actually known as the commutative property. That property states that we can change the order of numbers as long as we keep the signs and it maintains it's validity.