The teacher will be very surprised to see your correct solution 😉
8*cos(x) - x = 6
x1 = -10.4114894374522
x2 = -8.12251109588451
x3 = 0.60048650896474
x4 = -4.85589424501749
x5 = -0.875578561459717