Final answer:
To find the possible values of q in the distance formula, we can simplify the equation and solve for q.
Step-by-step explanation:
To find the possible values of q, we can use the distance formula to calculate the distance between the two points given.
Distance formula: d = sqrt((x2 - x1)^2 + (y2 - y1)^2)
Given points: (-3, -4) and (q, 5)
Distance: sqrt((-3 - q)^2 + (5 - (-4))^2) = 15
Simplifying the equation and solving for q, we get:
(-3 - q)^2 + 81 = 225
(-3 - q)^2 = 144
-3 - q = ±12
q = -3 + 12 or q = -3 - 12
q = 9 or q = -15
Therefore, the possible values of q are 9 and -15.