If 258 hamburgers and cheeseburgers were sold and the number of cheeseburgers sold was two times the amount of hambugerssold how many hamburgers were sold?

Is this right?
258 divided by 2 =129

C=2H

C+H=258

no, it is not right.

so it would be193 cheeseburgers right

172 cheeseburgers

86 hamburgers
I divided 258 by 3 that gives me 86 (1/3 of the total) and 172 (86x2)
1/3rd was hamburgers and 2/3rds cheeseburgers.

To solve this problem, let's assign variables to the given information. Let's call the number of hamburgers sold "x" and the number of cheeseburgers sold "y".

From the problem, we are given two pieces of information:
1) The total number of hamburgers and cheeseburgers sold is 258: x + y = 258.
2) The number of cheeseburgers sold is two times the number of hamburgers sold: y = 2x.

Now, we can solve this system of equations using substitution or elimination method.

Let's use substitution method. Rearrange the second equation to solve for x: y = 2x --> x = y/2

Now, substitute the value of x in the first equation:
x + y = 258
(y/2) + y = 258

Combine like terms:
(3y/2) = 258

Multiply both sides of the equation by 2/3:
3y = 258 * (2/3)
3y = 172

Divide both sides of the equation by 3:
y = 57

Now, substitute the value of y back into the second equation to solve for x:
x = y/2
x = 57/2
x = 28.5

However, we can only sell whole hamburgers, so we round down the decimal value of x to the nearest whole number:
x = 28

Therefore, 28 hamburgers were sold.