Drafted calculation (for information only):
Taxable income 5300$
Federal tax: 5300x16%=848
*less: Tax credit= 8012x(3/12)x16%=320
less: Quebec rebate=(848-320)x16.5%=87
Federalt tax payable=848-320-87=441
*--QPP and EI contribution are ignored as immaterial, and basic personal amount is entitled only for 3 months because you lived in Canada for this year only 3 months.
If based on the above calculation, we can backward calculate that you had been deducted 484$ for Fed. income tax and got refunded for 484-441=43$.
the best way to understand the result of your tax return is to read the statement that is sent to you along with your check. it is calculated item by item with the indication of the line number.