Ana tiene x €
el libro cuesta<img src="https://tex.z-dn.net/?f=%20%5Cfrac%7Bx%7D%7B3%7D%20" />
el comic cuesta<img src="https://tex.z-dn.net/?f=%20%5Cfrac%7B2%7D%7B3%7D%20%20%5Cfrac%7Bx%7D%7B3%7D%20" />
le sobran 12€
asi que sumamos todo nos dará el dinero que tenía Ana antes de comprar :
<img src="https://tex.z-dn.net/?f=%20%5Cfrac%7Bx%7D%7B3%7D%20" /> + <img src="https://tex.z-dn.net/?f=%20%5Cfrac%7B2%7D%7B3%7D%20%20%5Cfrac%7Bx%7D%7B3%7D%20" /> + 12 = <img src="https://tex.z-dn.net/?f=%20x" />
<img src="https://tex.z-dn.net/?f=%20%5Cfrac%7Bx%7D%7B3%7D%20" /> + <img src="https://tex.z-dn.net/?f=%20%5Cfrac%7B2x%7D%7B9%7D%20" /> + 12 = <img src="https://tex.z-dn.net/?f=%20x%20" />
Calculamos en mínimo común múltiplo de 3 y 9 que es 9
<img src="https://tex.z-dn.net/?f=%20%5Cfrac%7B3x%7D%7B9%7D%20" /> + <img src="https://tex.z-dn.net/?f=%20%5Cfrac%7B2x%7D%7B9%7D%20" /> + [img = 10] = [img = 11]
Simplificamos : 3x + 2x + 108 = 9x
5x + 108 = 9x
108 = 4x
x = 27 € tenia Ana
El libro cuesta 9€ y el comic 6€.