Answer :
Let t represent the number of hours it will take the prices of the two stocks to be the same.
The initial price of stock A was $14.57. Given that the price has been increasing at the rate of $0.12 each hour, it means that after t hours, the amount of increase would be
0.12 * t = 0.12t
The final price of stock A after t hours would be
14.57 + 0.12t
The initial price of stock B was $15.07 Given that the price has been decreasing at the rate of $0.11 each hour, it means that after t hours, the amount of decrease would be
0.11 * t = 0.11t
The final price of stock B after t hours would be
15.07 - 0.11t
For the prices to be the same, it means that
14.57 + 0.12t = 15.07 - 0.11t
0.12t + 0.11t = 15.07 - 14.57
0.23t = 0.5
t = 0.5/0.23
t = 2.17
It will take over 2 hours for the prices to be the same.