sthahvi sure!
First of all, this sequence A(n) = 3n + 7 is what we call an arithmetic sequence, each term has equal spacing between its neighbors. The sequence is 10, 13, 16, 19 ... infinitely increasing and this type of sequence has a clear pattern. Since we already know the full sequence, if we want to find the median/anything on the first x terms we only need to know what x is.
Statement 1 says the sum of terms in B is 275. If we add first 5 terms it is only 10 + 13 + 16 + 19 + 22, not even close to 275. If we add the next 5 terms, we might be close with 10 + 13 + 16 + .... + 37. Anyhow, we can keep adding terms until we hit exactly 275 so we know exactly where to stop. Thus x is a known value, sufficient.
Statement 2 says the range is 30. We start at 10 so we must end on 40. Then we know there are \(\frac{40 - 10}{3} + 1 = 11\) terms, sufficient.