The problem of friction in two-dimensional relative motion