In a fish tank, there are two fewer blue fish than three times the number of yellow fish. If there are 10 blue fish, what is the number of yellow fish(n). Write an equation to solve for n.

n=4

To solve this problem, we can start by writing an equation based on the information given.

Let's assume the number of yellow fish is represented by 'n'. According to the problem, there are two fewer blue fish than three times the number of yellow fish. So, the number of blue fish can be represented as 3n - 2.

We're also given that there are 10 blue fish. So, we can set up the equation:

3n - 2 = 10

This equation represents that the number of blue fish (3n - 2) is equal to 10.

To solve for 'n', we can proceed as follows:

1. Add 2 to both sides of the equation to isolate the term '3n' on the left side:
3n - 2 + 2 = 10 + 2
3n = 12

2. Divide both sides of the equation by 3 to solve for 'n':
3n/3 = 12/3
n = 4

Therefore, the number of yellow fish (n) in the fish tank is 4.