5A=5-b

5A=3-b

since both right-hand sides are equal to 5A, they are equal to each other, so

5-b = 3-b
5 = 3, which was false when I went to school, so

no solution to your problem.