the ages of A and B five years back would be (x – 5) years and (85 – x) years respectively