I don't know if this makes any sense but I have always struggled with academics and school from a young age. I am unable to understand concepts as well and quickly as other students, I find it hard to write essays and put my thoughts into words and I don't always remember what I learn. I feel like I am not very intelligent and even if I try hard to learn and study I never succeed. Is there a Dua or prayer I can do to improve my memory and intellect?

Please recite following dua after every prayer and before study.
سُبْحانَ مَنْ لا يَعْتَدي عَلى أهْلِ مَمْلَكَتِهِ
سُبْحانَ مَنْ لا يَأخُذُ اَهْلَ الاَْرْضِ بأَلْوانِ الْعَذابِ
 سُبْحانَ الرَّؤوُفِ الرَّحيمِ
 اَللّـهُمَّ اْجَعلْ لي في قَلْبى نُوراً وَبَصَراً وَفَهْماً وَعِلْماً اِنَّكَ عَلى كُلِّ شَي قَديرٌ .

Glory be to Him who does not treat the citizens of His Kingdom unjustly and harshly,
Glory be to Him who does not let torment and pain come suddenly upon mankind,
Glory be to the Compassionate, the Merciful.
O Allah fill my heart and mind with true enlightenment, discerning intelligence, quick understanding and knowledge, Verily Thou art able to do all things.

And please recite sura Aala sura no 87 after Fajr inshallah it will help you.