Answer:
p
a
+
q
a
−
r
a
+
r
b
−
q
b
−
p
b
Regroup terms.
p
a
−
p
b
+
q
a
−
r
a
+
r
b
−
q
b
Factor
p
out of
p
a
−
p
b
.
Tap for more steps...
p
(
a
−
1
b
)
+
q
a
−
r
a
+
r
b
−
q
b
Rewrite
−
1
b
as
−
b
.
p
(
a
−
b
)
+
q
a
−
r
a
+
r
b
−
q
b
Factor out the greatest common factor from each group.
Tap for more steps...
p
(
a
−
b
)
+
a
(
q
−
r
)
−
b
(
−
r
+
q
)
Factor the polynomial by factoring out the greatest common factor,
q
−
r
.
p
(
a
−
b
)
+
(
q
−
r
)
(
a
−
b
)
Factor
a
−
b
out of
p
(
a
−
b
)
+
(
q
−
r
)
(
a
−
b
)
.
Tap for more steps...
(
a
−
b
)
(
p
+
q
−
r
)