text: Aliyah had \$24 to spend on seven pencils. After buying them she had \$10. How much did each pencil co | MathCelebrity Forum
  
  # Aliyah had \$24 to spend on seven pencils. After buying them she had \$10. How much did each pencil co
  
  #### math_celebrity
  
  Staff member
  Aliyah had \$24 to spend on seven pencils. After buying them she had \$10. How much did each pencil cost?
  
  Let p be the number of pencils. We're given the following equation:
  7p + 10 = 24
  
  To solve this equation for p, we type it in our math engine and we get:
  p = 2
metadata: {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}