So for this you are going to be using a system of equations. The first equation is gonna equal the # of wheels and the second equation is gonna equal the # of pedals.
Let x equal # of tricycles and y equal # of unicycles.
The first equation is gonna be

The second equation is gonna be

For this, I'll be using the substitution method. And to be able to do that, you'll be subtracting 3x on each side of the first equation to get

.
And with this, you are going to substitute y in the second equation for (-3x+337) since that is the equivalent to y according to the first equation; and your second equation should look like this:

. From here we can solve for x.
First multiply 2 with (-3x+337), and your equation should look like

Combine like terms to get

Subtract 674 on each side to get

And then divide -4 on each side, and your answer should be

Now that we know that x is 86, we can replace x for 86 in either equation to solve for y. For this, i'll be substituting in the first equation.

Multiply 86 with 3 to get

And then just subtract 258 on each side to get

So since we now know that there are 86 tricycles and 79 unicycles, we just need to subtract them to get the final answer.

There are 7 more tricycles than unicycles.