The legislative branch can impeach federal judges.
The government of ancient Athens was "a direct democracy," since in fact the Ancient Greeks were the ones who "invented" democracy in the first place.
AC = AB + BC
AC = 2x + 6 + 4x - 10
AC = 6x - 4
If B is the middle point of AC
AB = AC/2 = (6x - 4)/2 = 3x - 2