Ten years ago, A was half of B in age. If the ratio of their present age is 3:4, what will be the total of their present ages?