My question is somehow similar to these equations in here, in here, and in here
let $\mu_1$ and $\mu_2$ be the two measures on $\mathbb R$ such that $\mu_1((a,b))= \mu_2((a,b))$ where $a,b \in \mathbb{R}$ for which $\mu_{1}(\{ a\})=0$, $\mu_{1}(\{ b\})=0$, $\mu_{2}(\{ a\})=0$, and $\mu_{2}(\{ b\})=0$. Show that $\mu_1$ and $\mu_2$ are equal.
I am not sure how would I use $\pi$-system and $\lambda$-system in here. Any hints are appreciated.
Edit: In the question, it was not mentioned if the measures were finite, but it seems to be a necessary assumption. So, assume it is finite i.e $\mu_1((a,b))= \mu_2((a,b)) < \infty$