In this proble we have an expression for each angle of the triangle so we can us the property that the sum of the internal angles of a triangle must be equal to 180 so the expression will be:
So we can solve the expression for x so:
Now with the value of x we can calculate the angle D that will be equal to: