Answer:
The equation for the number lamps Aladdin have;
2x + 3 = 15
To solve for x;
2x = 15-3
x = 12/2 = 6
Aladdin have 6 lamps earlier.
Explanation:
Let x be the number of lamps Aladdin have before;
When Aladdin buys three more lamps and adds to the double of the number of lamps he has, the total number of lamps goes up to 15.
2x + 3 = 15
To solve for x;
2x = 15-3
x = 12/2 = 6
Aladdin have 6 lamps earlier.