Man sentenced after pleading guilty to theft of a motor vehicle