How can I figure out the reaction order by just looking at an equation

How can I figure out the reaction order by just looking at an equation?The order of each reactant in the following reaction was determined by varying concentration and measuring the change in rate.4HBr(g) O2(g) —> 2Br2(g) 2H2O(g)When the concentration of HBr was doubled while the concentration of O2 was held constant the rate increased by a factor of 2. In a separate experiment when the concentration of O2 was halved while the concentration of HBr was held constant the rate decreased by a factor of 2.