Apply Bayes' rule to compute posterior | Roblox Interview Question