Please reason step by step, and put your final answer within \boxed{}.
A cone has a base radius of 6 cm. If the sector angle of the lateral surface when developed flat is 240°, find the slant height of the cone.
user