There are18 colour pages in a magazine, which is equal to 2(over)5 of the book. how many pages are there in the whole book?

Please show the steps.
thanks

2/5x = 18

x = 18 divided by 2/5
x = 18 * 5/2
x = 45

how do u right it like a formula or a equation?? ex. X + 18 ..... ?

Let x = the number of pages in the book. Then 2/5x = the number of color pages in the book, which is equal to 18.

2/5x = 18

2/5x = 18

x represents the total number of pages

To solve this problem, we can set up a proportion to find the number of pages in the whole book.

We know that 18 color pages is equal to 2/5 of the book. Let's represent the total number of pages in the book as 'x'.

So we can set up the following proportion:

18 / x = 2/5

To solve for 'x', we can cross multiply and then solve for 'x'.

18 * 5 = 2 * x

90 = 2x

To isolate 'x', divide both sides of the equation by 2:

90 / 2 = x

x = 45

Therefore, there are 45 pages in the whole book.