look at the little lines on the diagram
especially the little ones on DI and IC
that means the segments that have the same little lines are equal.
so, DI = IC because they both have the same little line on it
20x+12 = 4x+20
simplify it now (should be self explanatory but i know you guys are lazy so ill do it)
16x = 8
x = 1/2