
Actually Welcome to the concept of calculations of bills.
The bill calculation goes as equation,
y = $250 + n*($10)
here, n = number of lines,
1.) For n = 2 , Y = cost = 250 + 20 = $270
2.) for n = 4 , Y = $290
3.) for n = 6 , Y = $310
4.) for n = x, Y = $250 + x*($10)
for lastly 12 members we get as,
Y = 250 + (12)*(10) = 250+120 = $370
This is a simple problem based on combinatorics which can be easily tackled by using inclusion-exclusion principle.
We are asked to find number of positive integers less than 1,000,000 that are not divisible by 6 or 4.
let n be the number of positive integers.
∴ 1≤n≤999,999
Let c₁ be the set of numbers divisible by 6 and c₂ be the set of numbers divisible by 4.
Let N(c₁) be the number of elements in set c₁ and N(c₂) be the number of elements in set c₂.
∴N(c₁) =

N(c₂) =

∴N(c₁c₂) =

∴ Number of positive integers that are not divisible by 4 or 6,
N(c₁`c₂`) = 999,999 - (166666+250000) + 41667 = 625000
Therefore, 625000 integers are not divisible by 6 or 4
Take the coordinates
Ex.
(-5,-1) and count it on the chart
The first number is your x value and ur second number is ur y
Y= up and down
X= side to side
The equation of this line would be: y= x +4