Cezar used nails,screw and pegs to build a kodel house . He used twice as many screws as pegs and 3 fewer nails than screws.He used 15 nails.

How many pegs did he used?

s = 2 p

s = n + 3

n = 15

To find the number of pegs Cezar used, we need to determine the number of screws he used first.

Let's assume the number of pegs Cezar used is x.

According to the given information, Cezar used twice as many screws as pegs, so the number of screws he used is 2x.

It is also mentioned that he used 3 fewer nails than screws. Therefore, the number of nails he used is 2x - 3.

We are given that Cezar used 15 nails, so we can set up the following equation:

2x - 3 = 15

To solve for x, we can add 3 to both sides of the equation:

2x = 15 + 3
2x = 18

Next, we divide both sides of the equation by 2 to isolate x:

x = 18/2
x = 9

Therefore, Cezar used 9 pegs in building the model house.