in the figure shown, m<BGC =(16x-4) and m< CGD = (2x +13). Find the value of x so that <BGD is a right angle

you want BGC+CGD = 90, so

16x-4 + 2x+13 = 90