Generically speaking, you need to pick an integer unit (1), that can represent your smallest value. Let's call it Unit. It could be 1000 if you wanted to be able to represent numbers as small as 0.001, or even better, 1024 (a power of 2).
Then you need a way to convert a real number to fixed point. That is done by multiplying it by your fixed point Unit and round it to the nearest integer.
Then you need to know how to add, which is just add.
Then you need to know how to multiply. Assuming both of the operands are in fixed point (multiplied by Unit and rounded to nearest integer), if you just multiply them you'll get the "real" number multiplied by Unit^2; so you need to divide by Unit after multiplication.
Then you need to know how to divide. Again assuming both operands are in fixed point, if you just divide them you'll loose the Unit scaling, since Unit/Unit = 1. So you need to multiply the 1st operand by Unit (beware: you get a large number here) and then divide by the 2nd.
Then you may need to convert a fixed point to real: you float divide it by Unit.
Or to round it to integer: you add sign(value)*Unit/2 then integer divide by Unit.
These are the basics. There are caveats about errors (dividing and rounding introduce errors), but I'll leave you a tip: when dividing, always add 0.5 of the 2nd operand to the 1st and then divide, because integer division always rounds down and not to the nearest integer (11 div 4 = 2 but real result is 2.75, so nearest integer is 3 and not 2). Not "fixing" this division "error" will be visible in your applications.
You should also try to optimize the expressions, reduce operations and rearrange them such that divisions are done last - always keeping an eye on the number of bits you need to represent your intermediate results. Sometimes you don't need to convert one of the operands to fixed point, such as when doing a multiply if you have 1 operand in fixed point and the other you know is an integer.
If you sit down and simulate the operations with some cases, you'll see it's obvious how calculations need to be done.
p.s. Please fix the topic's subject so that eases search