Yes we don't know, but what we do is assume they are equal and then we apply the usual rules of algebra and finally convert the equality into 0=0, an equality that we are certain about and don't need any more convincing of. If however the equality is not true, then when we apply the rules we will end up with something like 1=0, a form that we are certain about again which is that 1\neq0 and thus the original equality is not true.
Say for example, we want to prove \frac{1-cos^2x}{cos^2x}=tan^2x
If you multiply through you have 1-cos^2x=(cosx.tanx)^2
and then apply the rules, sin^2x=sin^2x
You can go further and take sin2x from each side to end up with 0=0 but this obviously isn't necessary.
Now rather than multiplying through and dealing with both sides, we can just manipulate things on the LHS in a different manner to end up with the result on the right.
Since in the first case we multiplied through and we ended up with cos2xtan2x on the RHS, we can instead multiply top and bottom of the LHS by tan2x to get that same effect we did in the first case
\frac{(1-cos^2x)tan^2x}{tan^2xcos^2x}=\frac{sin^2xtan^2x}{sin^2x}=tan^2x=RHS
There really is no difference to the first method since you are basically doing the same thing, but honestly, it is harder to try and realize what you need to multiply by and such when dealing with just 1 side. This is probably why the teachers force you to do it this way.
So if you can do it one way, you can do it the other way.
Oh and by the way, without the use of the sine rule I'm completely stumped as to how to solve it...