A hba1c of 40 is neither diabetic nor pre diabetic. Pre diabetic is a hba1c of 42 - 47, a hba1c of 48 or over is diabetic.
Under 42, like yours, is not diabetic.
A hba1c of 40 equates to an average blood sugar of 6.7. All of the results you mention seem to be consistent with that. Non e of the numbers you mention create any suggestion of diabetes.
What symptoms are you having? If you are concerned about the then yes you should see a doctor. How did you get a hba1c test without seeing a doctor?