Man sentenced to six years for car burglary