how to find the the 50th terms and more

AP: a_50 = a + 49d

GP: a_50 = ar^49