Answer:
The value of x would be 6.
Explanation:
In triangles BCG and BAG,
BG ≅ BG ( Common segment )
∠GCB ≅ ∠ GAB ( Right angles )
∠ GBC ≅ ∠ GBA ( by diagram )
By AAS congruence postulate,

By CPCTC,
CG = AG,
We have,
CG = 4x - 16 and AG = 2x - 4
By substituting the values,
4x - 16 = 2x - 4
4x - 2x = -4 + 16
2x = 12
x = 6
Hence, the value of x would be 6.