Buying <1k will do the job, it will be a hub motor. Look at reliable branded bikes from the likes of Woosh, Juicy, Kudos who have been selling ebikes for many years.
Alternately speak to Woosh abut converting your mtb.
For flatish 5.5mile journey look at the Woosh Karoo or Kudos offering.