a and b are friends. a's father d is twice as old as a and b is twice as old as his sister c. the age of d and c differ by 40 years. write a linear equation representing the given situation, assuming the ages of a and b as x and y years respectively.