The question shows three triangles (all right angled triangles).
Two of them are inscribed inside a bigger one.
Triangle DEB and triangle BEF are both inscribed inside the larger triangle DEF.
We shall use the ratios of these triangles to calculate the unknown sides;

The length of DB is 2