In the diagram, D is equidistant from the endpoints of AC. This and the fact that DB and AC are perpendicular, mean that DB is the perpendicular bisector of AC. Therefore, we can say that AB=BC. With this, we can write an equation to find x.
AB=BC ⇒ 5x=4x+3
Let's subtract 4x on both sides to find the value of x.