S varies directly as R varies and T varies inversely as R varies. At a time R = 20, S = 40 and T = 1