Stars having less mass collapses early than those with more mass. This can be explained by Einstein's equation E=mc².
According to this equation, mass of stars is converted into light due to thermonuclear reactions occuring in the core of star which acts as engine of the stars. This thermonuclear reactions keeps star alive. Thermonuclear reactions occurs slowly in massive stars hence massive stars live more than light stars.
To develop this problem it is necessary to apply the concept of Frequency based on speed and wavelength.
According to the definition the frequency can be expressed as

Where,
v = Velocity
Wavelength
Our value are given by,
v = 345m/s

Replacing


Therefore the frequency of the tuning fork is 547.61Hz