Two brothers who raped vulnerable girls 18 years ago have been jailed for 31 years between them.