Mary has a cone that has a radius of 5cm and height of 10cm. James has a square pyramid with base length of 10cm and height of 5cm. Which solid has a larger volume? Explain.