Was I close to my first lucid dream?

in my first dream I was getting my exam back from my teacher which I knew was impossible because my teachers never give back our exams. Anyways on the exams had -12, -14, -16, and -18 but no actual grade on them. She told us to do the math ourselves and subtract from 100 and so I did. I was able to read the numbers and do basic math in my head (100-12 = 88) but then I shifted into another dream.

If I was able to do math was the logical side of my brain awake?

I took some Vitamin B6 and ate a banana before sleeping so maybe this triggered it.

In a lucid dream, can you see very clearly like you were actually awake or is it somewhat blurry?