Let the equations of two adjacent sides of a parallelogram ABCD be AB = a and BC = b. If the equation of its one diagonal AC is c and the distance of A from the other diagonal BD is d, what is the equation of the other diagonal BD?