Since the triangle is equilateral (you can tell by the tick on each side), all angles have the same measure as well.
The angles of a triangle sum up to 180 degress, so three equal angles must measure 60 degrees each.
So, in particular, we have
7x + 4 = 60 7x = 56 x = 8