Since Rohit does not want to sit on the middle seat or at either end (3 chairs), then he can choose 3 chairs to sit. The remaining 5 people can sit in 5! ways. Thus the # of arrangements is 3*5! = 360.
In how many ways can you seat 6 people on a bench if one of them, Rohit, does not want to sit on the middle seat or at either end?

  360
  1720
  2880
  5040
  10080