Fines totalling £700 have been imposed on a 21-year-old man who admitted two offences at Selkirk Sheriff Court.