Shape A and Shape B are mathematically similar. The scale factor of their surface areas is 9. What is the scale factor of their lengths?