length and width definition math