Two years hence,a father will be six times as old as his son.Three years ago,the father was five times as old as his son will be twoyears

hence,find the present ages of father and son

f+2 = 6(s+2)

f-3 = 5(s+2)

either solve simultaneously, or note that

(f+2)/6 = (f-3)/5
Solve for f, and then get s.

Kind of a sloppy problem, using s+2 twice.

28yrs,3yrs

To solve this problem, let's represent the present age of the son as S and the present age of the father as F.

According to the problem, "Two years hence, a father will be six times as old as his son." This can be represented as:
F + 2 = 6(S + 2) ---- (1)

The problem also states that "Three years ago, the father was five times as old as his son will be two years hence." This can be represented as:
(F - 3) = 5(S + 2) ---- (2)

Now, we have two equations (equation 1 and equation 2) with two variables (F and S). Let's solve these equations simultaneously to find the values of F and S.

First, simplify equation 1:
F + 2 = 6S + 12
F = 6S + 10

Substitute this value of F in equation 2:
(6S + 10 - 3) = 5(S + 2)
6S + 7 = 5S + 10
6S - 5S = 10 - 7
S = 3

Now, substitute the value of S back into equation 1:
F = 6(3) + 10
F = 28

Therefore, the present age of the father is 28 and the present age of the son is 3.