You need to become better in math. Math is one of the pillars of engineering. You are going to rely on it heavily in your work as a software engineer. If I were you, I would look for help from my friend and teacher.
If you are solving a sum, understand the logic behind it, which makes you genius. for every job, think logically, so that it will be easy for you.
Maths is the building block for any engineering unit and significantly important for coding environment where you've to improve the runtime and use better arithmetic and algorithm. I hope you're not following to be a software engineer just because it sounds cool and you hear it quite often. If you're aiming to be a software engineer for not research or very professional and competitive environment (probably like college degree) but for the fun of it, you can pretty much sail through the coding part of the software engineer as long as your approach to problems are analytical and logical but if you're delving into research or moving to college, I would recommend you to start prepping up algebra, arithmetic (especially number theory) part of Maths and that should be enough. You will start appreciating the maths and it's day to day use in software industry once you get first hand experience of the same. I would recommend start coding for fun on platforms like codechef, topcoder, hackerrank, codingame etc. Few more similar sites below:
Few links to start with maths in coding:
Wish you all the best in your endeavour!
Ashish recommends the following next steps: