How does the frequency of sound given by a stretched string depend on its (a) length, (b) tension?