Solve for d -5=6d-7d+4