The teacher will be very surprised to see your correct solution 😉
2 log (x)*(7 - x) = 5
x1 = 3.10494245363554
x2 = 5.1297143516678