First calculate time to read the file of 128 KB $\rightarrow$ $\frac{2^{17}}{2^{20}}$ $\rightarrow$ $0.125 $ sec $\rightarrow$ $125$ ms.
A) As file is contiguous in first part, so in order to read 256 sectors, overhead will come only 1 time
Total time = T avg seek + T rotn delay + T transfer time $\rightarrow$ 8.3+20+125 ms $\rightarrow$ $153.3 ms$
B) When sectors are random, overhead will come for each sector, so
Total time = 256* (T avg seek + T rotn delay + T transfer time for 1 sector)
$\rightarrow$ 256 * (T avg seek + T rotn delay) + T total transfer time
$\rightarrow$ 256*(28.3) + 125 $\rightarrow$ $7369.8ms$