Ratio theorem states that if the point divides AB in the ratio λ : µ, then the point has a position vector of (µa+λb)/(λ +µ). This information can be found in the formula booklet if you are taking H2 A Level Math.
Let’s use the diagram below to look at how to apply ratio theorem in greater detail: