Spanning-Tree Cost Calculation

Is that right?