How do I solve for X?

First, we have the two fractions to have the same denominator.
7/8
3/4 --> 6/8
Now this is easier.
7/8-1/x=6/8
So with that done you can easily see that 7/8-1/8=6/8 or 3/4
So x=8
Hope this helps!