Learning a language is _not_ like learning math. Yes, there are rules, and if you learn enough of them you can construct valid sentences by translating words from your native language and adding in the necessary syntactic filler, but you will not actually learn that language. Languages are greater than a sum of their syntax and grammar.
If you really want to learn a language, you need to listen to A LOT of source material and start speaking it with real people and forming relationships in that language and its cultural context.